import Mock from 'mockjs'

import loginApi from './login.js'

Mock.mock(/\/user\/login/, 'post', loginApi.loginByUsername)

export default Mock